The Dreamweaver JavaScript API > Selection functions > dom.source.balanceBracesTextView()

 

dom.source.balanceBracesTextView()

Availability

Dreamweaver 4.0

Description

Source view extension that enables parentheses balancing. You can call dom.source.balanceBracesTextView() to extend a currently highlighted selection or insertion point from the start of the surrounding parenthetical statement to the end of the statement to balance the following characters: [], {} and (). Subsequent calls will expand the selection through further levels of punctuation nesting.

Arguments

None.

Returns

Nothing.